package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.doctor.domain.DrAppH5Mapper;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Repository;

/**
 * <pre>app与h5配置数据操作</pre>
 *
 * @author gongbaoqiang
 * @date 2019/7/15 16:37
 * @since 1.0.0
 */
@Repository
public interface IDrAppH5MapperRepository extends BaseJpaRepository<DrAppH5Mapper, Long>  {

    DrAppH5Mapper findFirstByAppVersionLessThanEqualAndDeviceType(String appV, Integer type, Sort sort);

}
